Part Number Hot Search : 
AF9903M NCV77 32000 GTL2021 121NQ 0N60C3 N25F80 BLV2045N
Product Description
Full Text Search
 

To Download X1243 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  xicor, inc. 1994, 1995, 1996 patents pending 9900-3003.1 4/1/99 1 characteristics subject to change without notice 16k 2-wire ? rtc real time clock/calendar/alarm with eeprom features ? 2 alarmsinterrupt output settable on the second, 10s of seconds, minute, 10s of minutes, hour, day, month, or day of the week repeat alarm for time base generation ? 2 wire interface interoperable with i 2 c. 400khz data transfer rate ? secondary power supply input with internal switch-over circuitry. ? year 2000 compliant ? 2k bytes of eeprom 64 byte page write mode 3 bit block lock ? low power cmos <1 m a operating current <3ma active current during program <400 m a active current during data read ? single byte write capability ? typical nonvolatile write cycle time: 5ms ? high reliability 100,000 endurance cycles guaranteed data retention: 100 years ? small package options 8-lead soic package, 8l tssop package description the X1243 is a real time clock with clock/calendar circuits and two alarms. the dual port clock and alarm registers allow the clock to operate, without loss of accuracy, even during read and write operations. the clock/calendar provides functionality that is con- trollable and readable through a set of registers. the clock, using a low cost 32.768khz crystal input, accu- rately tracks the time in seconds, minutes, hours, date, day, month and years. it has leap year correction, automatic adjustment for the year 2000 and months with less than 31 days. an alarm match of the rtc sets an interrupt flag and activates an interrupt pin. an alternative alarm function provides a pulsed interrupt for long time constant time- bases. the device offers a backup power input pin. this vback pin allows the device to be backed up by a non- rechargeable battery. the rtc is fully operational from 1.8 to 5.5 volts. the X1243 provides a 2k byte eeprom array, giving a safe, secure memory for critical user and configura- tion data. this memory is unaffected by complete fail- ure of the main and backup supplies. block diagram x1 x2 oscillator frequency timer logic divider calendar 8 32.768khz control registers 1hz time keeping registers alarm regs compare mask irq control decode logic alarm (eeprom) (eeprom) (sram) scl sda serial interface decoder interrupt enable 16k eeprom array register status (sram) alarm alarm X1243
X1243 2 pin descriptions serial clock (scl) the scl input is used to clock all data into and out of the device. the input buffer on this pin is always active (not gated). serial data (sda) sda is a bidirectional pin used to transfer data into and out of the device. it has an open drain output and may be wire ored with other open drain or open col- lector outputs. the input buffer is always active (not gated). an open drain output requires the use of a pull-up resistor. the output circuitry controls the fall time of the output signal with the use of a slope controlled pull-down. the circuit is designed for 400khz 2-wire interface speeds. v back this input provides a backup supply voltage to the device. v back supplies power to the device in the event the v cc supply fails. interrupt output irq this is an interrupt signal output. this signal notifies a host processor that alarm has occurred and requests action. it is an open drain active low output. x1, x2 the x1 and x2 pins are the input and output, respec- tively, of an inverting amplifier that can be configured for use as an on-chip oscillator. a 32.768khz quartz crystal is used. recommeded crystals are sieko vt-200 or epson c-002rx. the crystal supplies a timebase for a clock/oscillator. the internal clock can be driven by an external signal on x1, with x2 left unconnected. figure 1. recommended crystal connection power control operation the power control circuit accepts a v cc and a v back input. the power control circuit will switch to v back when v cc < v back - 0.2v. it will switch back to v cc when v cc exceeds v back . figure 2. power control real time clock operation the real time clock (rtc) uses an external, 32.768khz quartz crystal to maintain an accurate internal repre- sentation of the year, month, day, date, hour, minute, and seconds. the rtc has leap-year correction and a century byte. the clock will also correct for months hav- ing fewer than 31 days and will have a bit that controls 24 hour or am/pm format. when the X1243 powers up after the loss of both v cc and v back , the clock will not increment until at least one byte is written to the clock register. reading the real time clock the rtc is read by initiating a read command and specifying the address corresponding to the register of the real time clock. the rtc registers can then be read in a sequential read mode. since the clock runs continuously and a read takes a finite amount of time, there is the possibility that the clock could change dur- ing the course of a read operation. in this device, the time is latched by the read command (falling edge of X1243 x1 x2 v back v cc irq scl sda v ss 1 2 3 4 7 8 6 5 8 pin tssop X1243 x1 x2 v back v cc irq scl sda v ss 1 2 3 4 7 8 6 5 8 pin soic x1 x2 43pf 18pf 220k 10m v back v cc = v back -0.2v internal voltage v cc
X1243 3 the clock on the ack bit prior to rtc data output) into a separate latch to avoid time changes during the read operation. the clock continues to run. alarms occuring during a read are unaffected by the read operation. writing to the real time clock the time and date may be set by writing to the rtc registers. to avoid changing the current time by an uncompleted write operation, the current time value is loaded into a seperate buffer at the falling edge of the clock on the ack bit before the rtc data input bytes, the clock continues to run. the new serial input data replaces the values in the buffer. this new rtc value is loaded back into the rtc register by a stop bit at the end of a valid write sequence. an invalid write operation aborts the time update procedure and the contents of the buffer are discarded. after a valid write operation the rtc will reflect the newly loaded data beginning with the first one second clock cycle after the stop bit. the rtc continues to update the time while an rtc register write is in progress and the rtc continues to run during any nonvolatile write sequences. a single byte may be written to the rtc without affect- ing the other bytes. clock/control registers (ccr) the control/clock registers are located in an area logically separated from the array and are only acces- sible following a slave byte of 1101111x and reads or writes to addresses [0000h:003fh]. ccr access the contents of the ccr can be modified by performing a byte or a page write operation directly to any address in the ccr. prior to writing to the ccr (except the status register), however, the wel and rwel bits must be set using a two step process (see section writing to the clock/control registers.) the ccr is divided into 5 sections. these are: 1. alarm 0 (8 bytes) 2. alarm 1 (8 bytes) 3. control (2 bytes) 4. real time clock (8 bytes) 5. status (1 byte) sections 1) through 3) are nonvolatile and sections 4) and 5) are volatile. each register is read and written through buffers. the non-volatile portion (or the counter portion of the rtc) is updated only if rwel is set and only after a valid write operation and stop bit. a sequen- tial read or page write operation provides access to the contents of only one section of the ccr per operation. access to another section requires a new operation. continued reads or writes, once reaching the end of a section, will wrap around to the start of the section. a read or page write can begin at any address in the ccr. section 5) is a volatile register. it is not necessary to set the rwel bit prior to writing the status register. section 5) supports a single byte read or write only. continued reads or writes from this section terminates the operation. the state of the ccr can be read by performing a ran- dom read at any address in the ccr at any time. this returns the contents of that register location. additional registers are read by performing a sequential read. the read instruction latches all clock registers into a buffer, so an update of the clock does not change the time being read. a sequential read of the ccr will not result in the output of data from the memory array. at the end of a read, the master supplies a stop condition to end the operation and free the bus. after a read of the ccr, the address remains at the previous address +1 so the user can execute a current address read of the ccr and continue reading the next register. alarm registers there are two alarm registers whose contents mimic the contents of the rtc register, but add enable bits and exclude the 24 hour time selection bit. the enable bits specify which registers to use in the comparison between the alarm and real time registers. for example: the user can set the x1242 to alarm every wednes- day at 8:00 am by setting the edwn, the ehrn and emnn enable bits to 0 and setting the dwan, hran and mnan alarm registers to 8:00 am wednesday. a daily alarm for 9:30pm results when the ehrn and emnn enable bits are set to 0 and the hran and mnan registers set 9:30 pm. setting the emon bit in combination with other enable bits and a specific alarm time, the user can establish an alarm that triggers at the same time once a year. when there is a match, an alarm flag is set. the occur- ance of an alarm can be determined by polling the al0 and al1 bits, or by setting the al0e and al1e bits to 1 and monitoring the irq output. the al0e and al1e bits enable the circuit that triggers the output irq pin when an alarm occurs. writing a 0 to one of the bits
X1243 4 disables the output irq for that alarm condition, but the alarm condition can still be checked by polling the alarm flag. the alarm enable bits are located in the msb of the particular register. when all enable bits are set to 0, there are no alarms. table 1. clock/control memory map addr. type reg name bit range factroy settings 76 5 4 3 2 1 0 (optional) 003f status sr bat al1 al0 0 0 rwel wel rtcf 0037 rtc (sram) y2k 0 0 y2k21 y2k20 y2k13 0 0 y2k10 19/20 0036 dw 0 0 0 0 0 dy2 dy1 dy0 0-6 0035 yr y23 y22 y21 y20 y13 y12 y11 y10 0-99 0034 mo 0 0 0 g20 g13 g12 g11 g10 1-12 0033 dt 0 0 d21 d20 d13 d12 d11 d10 1-31 0032 hr t24 0 h21 h20 h13 h12 h11 h10 0-23 0031 mn 0 m22 m21 m20 m13 m12 m11 m10 0-59 0030 sc 0 s22 s21 s20 s13 s12 s11 s10 0-59 0011 control (e2prom) int im al1e al0e 0 0 0 0 0 00h 0010 bl bp2 bp1 bp0 0 0 0 0 0 00h 000f alarm1 (e2prom) unused 000e dwa1 edw1 0 0 0 0 dy2 dy1 dy0 0-6 0h 000d yra1 unused - default = rtc year value 000c moa1 emo1 0 0 a1g20 a1g13 a1g12 a1g11 a1g10 1-12 0h 000b dta1 edt1 0 a1d21 a1d20 a1d13 a1d12 a1d11 a1d10 1-31 0h 000a hra1 ehr1 0 a1h21 a1h20 a1h13 a1h12 a1h11 a1h10 0-23 0h 0009 mna1 emn1 a1m22 a1m21 a1m20 a1m13 a1m12 a1m11 a1m10 0-59 0h 0008 sca1 esc1 a1s22 a1s21 a1s20 a1s13 a1s12 a1s11 a1s10 0-59 0h 0007 alarm0 (e2prom) unused 0006 dwa1 edw0 0 0 0 0 dy2 dy1 dy0 0-6 0h 0005 yra0 unused - default = rtc year value 0004 moa0 emo0 0 0 a0g20 a0g13 a0g12 a0g11 a0g10 1-12 0h 0003 dta0 edt0 0 a0d21 a0d20 a0d13 a0d12 a0d11 a0d10 1-31 0h 0002 hra0 ehr0 0 a0h21 a0h20 a0h13 a0h12 a0h11 a0h10 0-23 0h 0001 mna0 emn0 a0m22 a0m21 a0m20 a0m13 a0m12 a0m11 a0m10 0-59 0h 0000 sca0 esc0 a0s22 a0s21 a0s20 a0s13 a0s12 a0s11 a0s10 0-59 0h real time clock registers year 2000 (y2k) the X1243 has a century byte that rolls over from 19 to 20 when the years byte changes from 99 to 00. the y2k byte can contain only the values of 19 or 20. day of the week register (dw) this register provides a day of the week status and uses three bits dy2 to dy0 to represent the seven days of the week. the counter advances in the cycle 0-1-2-3-4-5-6-0-1-2-... the assignment of a numerical
X1243 5 value to a specific day of the week is arbitrary and may be decided by the system software designer. the clock default values define 0=sunday. clock/calendar registers (yr, mo, dt, hr, mn, sc) these registers depict bcd representations of the time. as such, sc (seconds) and mn (minutes) range from 00 to 59, hr (hour) is 1 to 12 with an am or pm indica- tor (h21 bit) or 0 to 23 (with t24=1), dt (date) is 1 to 31, mo (month) is 1 to 12, yr (year) is 0 to 99. 24 hour time if the t24 bit of the hr register is 1, the rtc will use a 24-hour format. if the t24 bit is 0, the rtc will use 12- hour format and bit h21 will function as an am/pm indi- cator with a 1 representing pm. the clock defaults to standard time with h21=0. leap years leap years add the day february 29 and are defined as those years that are divisible by 4. years divisible by 100 are not leap years, unless they are also divisible by 400. this means that the year 2000 is a leap year, the year 2100 is not. the X1243 does not correct for the leap year in the year 2100. status register (sr) the status register is located in the rtc area at address 003fh. this is a volatile register only and is used to control the wel and rwel write enable latches, read an optional low voltage sense bit, and read the two alarm bits. this register is logically seper- ated from both the array and the clock/control regis- ters (ccr). table 2. status register (sr) bat: battery supplyvolatile this bit set to 1 indicates that the device is operating from v back , not v cc . it is a read only bit and is set/ reset by hardware. al1, al0: alarm bitsvolatile these bits announce if either alarm 1 or alarm 2 match the real time clock. if there is a match, the respective bit is set to 1. the falling edge of the last data bit in a sr read operation resets the flags. note: only the al bits that are set when an sr read starts will be reset. an alarm bit that is set by an alarm occuring during an sr read operation will remain set after the read operation is complete. rwel: register write enable latchvolatile this bit is a volatile latch that powers up in the low (disabled) state. the rwel bit must be set to 1 prior to any writes to the clock/control registers. writes to rwel bit do not cause a nonvolatile write cycle, so the device is ready for the next operation immediately after the stop condition. a write to the ccr requires both the rwel and wel bits to be set in a specific sequence. wel: write enable latchvolatile the wel bit controls the access to the ccr and mem- ory array during a write operation. this bit is a volatile latch that powers up in the low (disabled) state. while the wel bit is low, writes to the ccr or any array address will be ignored (no acknowledge will be issued after the data byte). the wel bit is set by writing a 1 to the wel bit and zeroes to the other bits of the status register. once set, wel remains set until either reset to 0 (by writing a 0 to the wel bit and zeroes to the other bits of the status register) or until the part pow- ers up again. writes to wel bit do not cause a non-vol- atile write cycle, so the device is ready for the next operation immediately after the stop condition. rtcf: real time clock fail bitvolatile this bit is set to a 1 after a total power failure. this is a read only bit that is set by hardware when the device powers up after having lost all power to the device. the bit is set regardless of whether v cc or v back is applied first. the loss of one or the other supplies does not result in setting the rtcf bit. the first valid write to the rtc (writing one byte is sufficient) resets the rtcf bit to 0. unused bits: these devices do not use bits 3 or 4, but must have a zero in these bit positions. the data byte output during a sr read will contain zeros in these bit locations. addr 7 6 5 4 3 2 1 0 003fh bat al1 al0 0 0 rwel wel rtcf default 0 0 0 0 0 0 0 0
X1243 6 control registers block protect bits - bp2, bp1, bp0 - (nonvolatile) the block protect bits, bp2, bp1 and bp0, determine which blocks of the array are write protected. a write to a protected block of memory is ignored. the block protect bits will prevent write operations to one of eight segments of the array. the partitions are described in table 3. table 3. block protect bits interrupt control bits (al1e, al0e) there are two interrupt control bits, alarm 1 interrupt enable (al1e) and alarm 0 interrupt enable (al0e) to specifically enable or disable the alarm interrupt signal output. the interrupt output is enabled when either bit is set to 1. two volatile bits (al1 and al0), associated with these alarms, indicate if an alarm has happened. these bits are set on an alarm condition regardless of whether the alarm interrupts are enabled. the al1 and al0 bits are reset by the falling edge of the 8th clock of a read of the register containing the bits. in an alternative mode (called pulsed interrupt mode), controlled by an interrupt mode (im) bit, the alarm 0 setting provides an output pulse on irq each time the alarm matches the rtc. in this case the al0 bit is not used. alarm 1 works as before (i.e. the al1 bit is set when an alarm occurs), but it is necessary to poll the sta- tus register to determine whether a match has occurred. this read operation is necessary to reset the al1 flag. normal mode (im bit =0) a match of the rtc and the contents of the alarm 0 registers automatically sets the al0 bit. if the al0e bit is also set, the output irq signal goes active (low). if the al0e bit is not set, the al0 bit is set, but the irq signal remains unchanged. a match of the rtc and the contents of the alarm 1 registers automatically sets the al1 bit. if the al1e bit is also set, the output irq signal goes active (low). if the al1e bit is not set, the al1 bit is set, but the irq signal remains unchanged. reading the status register, containing the al0 and al1 bits, resets the bits. the bits do not reset until the falling edge of the 8th output clock of the status regis- ter containing the alarm bits. when the bits reset, the output irq signal returns to the inactive state. pulsed interrupt mode (im bit =1) in this mode, the alarm interrupt enable bits (al0e and al1e) are not used. alarm 1 operates as before, so a match of the rtc and alarm 1 sets the al1 bit. since the interrupt enable bits have no function, it is neces- sary for the host processor to poll the al1 bit to deter- mine if an alarm has occurred. alarm 0 provides an output response. in this case, when the rtc matches the alarm 0 registers, the out- put irq pulses one time. this pulse can be used to control some outside circuit or event, without the need for a local processor. the duration of the pulse is 1024 cycles of the 32.748khz oscillator. all alarm 0 enable options are available, so this becomes a very flexible long term repeat trigger. writing to the clock/control registers changing any of the nonvolatile bits of the clock/con- trol register requires the following steps: write a 02h to the status register to set the write enable latch (wel). this is a volatile operation, so there is no delay after the write. (operation pre- ceeded by a start and ended with a stop). write a 06h to the status register to set both the register write enable latch (rwel) and the wel bit. this is also a volatile cycle. the zeros in the data byte are required. (operation preceeded by a start and ended with a stop). write one to 8 bytes to the clock/control registers with the desired clock, alarm, or control data. this sequence starts with a start bit, requires a slave byte of 11011110 and an address within the ccr and is terminated by a stop bit. a write to the ccr changes eeprom values so these initiate a nonvolatile write cycle and will take up to 10ms to complete. writes to undefined areas have no effect. the rwel bit is reset by the completion of a nonvolatile write write cycle, so the sequence must be repeated to again bp2 bp1 bp0 protected addresses X1243 array lock 0 0 0 none none 0 0 1 600h - 7ffh upper 1/4 0 1 0 400h - 7ffh upper 1/2 0 1 1 000h - 7ffh full array 1 0 0 000h - 03fh first page 1 0 1 000h - 07fh first 2 pgs 1 1 0 000h - 0ffh first 4 pgs 1 1 1 000h - 1ffh first 8 pgs
X1243 7 initiate another change to the ccr contents. if the sequence is not completed for any reason (by send- ing an incorrect number of bits or sending a start instead of a stop, for example) the rwel bit is not reset and the device remains in an active mode. writing all zeros to the status register resets both the wel and rwel bits. a read operation occurring between any of the pre- vious operations will not interrupt the register write operation. the rwel and wel bits can be reset by writing a 0 to the status register. serial communication interface conventions the device supports a bidirectional bus oriented proto- col. the protocol defines any device that sends data onto the bus as a transmitter, and the receiving device as the receiver. the device controlling the transfer is called the master and the device being controlled is called the slave. the master always initiates data transfers, and provides the clock for both transmit and receive operations. therefore, the devices in this fam- ily operate as slaves in all applications. figure 3. valid data changes on the sda bus scl sda data stable data change data stable clock and data data states on the sda line can change only during scl low. sda state changes during scl high are reserved for indicating start and stop conditions. see figure 3. start condition all commands are preceded by the start condition, which is a high to low transition of sda when scl is high. the device continuously monitors the sda and scl lines for the start condition and will not respond to any command until this condition has been met. see figure 4. stop condition all communications must be terminated by a stop con- dition, which is a low to high transition of sda when scl is high. the stop condition is also used to place the device into the standby power mode after a read sequence. a stop condition can only be issued after the transmitting device has released the bus refer to figure 4. figure 4. valid start and stop conditions scl sda start stop
X1243 8 figure 5. acknowledge response from receiver scl from master data output from transmitter data output from receiver 8 1 9 start acknowledge acknowledge acknowledge is a software convention used to indi- cate successful data transfer. the transmitting device, either master or slave, will release the bus after trans- mitting eight bits. during the ninth clock cycle, the receiver will pull the sda line low to acknowledge that it received the eight bits of data. refer to figure 5. the device will respond with an acknowledge after recognition of a start condition and if the correct device identifier and select bits are contained in the slave address byte. if a write operation is selected, the device will respond with an acknowledge after the receipt of each subsequent eight bit word. the device will acknowledge all incoming data and address bytes, except for: the slave address byte when the device identifier and/or select bits are incorrect all data bytes of a write when the wel in the write protect register is low the 2nd data byte of a register write operation (when only 1 data byte is allowed) in the read mode, the device will transmit eight bits of data, release the sda line, then monitor the line for an acknowledge. if an acknowledge is detected and no stop condition is generated by the master, the device will continue to transmit data. the device will terminate further data transmissions if an acknowledge is not detected. the master must then issue a stop condition to return the device to standby mode and place the device into a known state. write operations byte write for a byte write operation, the device requires the slave address byte and the word address bytes. this gives the master access to any one of the words in the array or ccr. (note: prior to writing to the ccr, the master must write a 02h, then 06h to the status regis- ter in preceding operations to enable the write opera- tion. see writing to the clock/control registers on page 6.) upon receipt of each address byte, the X1243 responds with an acknowledge. after receiving both address bytes the X1243 awaits the eight bits of data. after receiving the 8 data bits, the X1243 again responds with an acknowledge. the master then ter- minates the transfer by generating a stop condition. the X1243 then begins an internal write cycle of the data to the nonvolatile memory. during the internal write cycle, the device inputs are disabled, so the device will not respond to any requests from the master. the sda output is at high impedance. see figure 6. a write to a protected block of memory is ignored, but will still receive an acknowledge. at the end of the write command, the X1243 will not initiate an internal write cycle, and will continue to ack commands.
X1243 9 page write the X1243 has a page write operation. it is initiated in the same manner as the byte write operation; but instead of terminating the write cycle after the first data byte is transferred, the master can transmit up to 63 more bytes to the memory array and up to 7 more bytes to the clock/control registers. (note: prior to writing to the ccr, the master must write a 02h, then 06h to the sta- tus register in two preceding operations to enable the write operation. see writing to the clock/control reg- isters on page 6.) after the receipt of each byte, the X1243 responds with an acknowledge, and the address is internally incremented by one. when the counter reaches the end of the page, it rolls over and goes back to the first address on the same page. this means that the master can write 64 bytes to a memory array page or 8 bytes to a ccr section starting at any location on that page. if the master begins writing at location 40 of the memory and loads 30 bytes, then the first 23 bytes are written to addresses 40 through 63, and the last 7 bytes are written to columns 0 through 6. afterwards, figure 6. byte write sequence figure 7. writing 30 bytes to a 64 -byte page starting at adress 40 . figure 8. page write sequence s t a r t s t o p slave address word address 1 data a c k a c k a c k sda bus signals from the slave signals from the master 0 a c k word address 0 1 1 1 1 00000 address address 40 23 bytes 63 7 bytes address = 6 address pointer ends here addr = 7 word address 0 s t a r t s t o p slave address word address 1 data (n) a c k a c k a c k sda bus signals from the slave signals from the master 0 data (1) a c k (1 < n < 64) 1 1 1 100000
X1243 10 the address counter would point to location 7 on the page that was just written. if the master supplies more than the maximum bytes in a page, then the previously loaded data is over written by the new data, one byte at a time. the master terminates the data byte loading by issu- ing a stop condition, which causes the device to begin the non-volatile write cycle. as with the byte write operation, all inputs are disabled until completion of the internal write cycle. refer to figure 8 for the address, acknowledge, and data transfer sequence. stops and write modes stop conditions that terminate write operations must be sent by the master after sending at least 1 full data byte and its associated ack signal. if a stop is issued in the middle of a data byte, or before 1 full data byte + ack is sent, then the device will reset itself without performing the write. the contents of the array will not be affected. acknowledge polling the disabling of the inputs during non-volatile write cycles can be used to take advantage of the typical 5ms write cycle time. once the stop condition is issued to indicate the end of the masters byte load operation, the device initiates the internal non-volatile write cycle. acknowledge polling can be initiated immediately. to do this, the master issues a start con- dition followed by the slave address byte for a write or read operation. if the device is still busy with the non- volatile write cycle then no ack will be returned. if the device has completed the write operation, an ack will be returned and the host can then proceed with the read or write operation. refer to the flow chart in table 9. read operations there are three basic read operations: current address read, random read, and sequential read. current address read internally the device contains an address counter that maintains the address of the last word read incre- mented by one. therefore, if the last read was to address n, the next read operation would access data from address n+1. on power up, the sixteen bit address is initialized to 0h. in this way, a current address read can be initiated immediately after the power on reset to download the contents of memory starting at the first location. figure 9. acknowledge polling sequence upon receipt of the slave address byte with the r/w bit set to one, the device issues an acknowledge and then transmits the eight bits of the data byte. the master terminates the read operation when it does not respond with an acknowledge during the ninth clock and then issues a stop condition. refer to figure 10 for the address, acknowledge, and data transfer sequence. it should be noted that the ninth clock cycle of the read operation is not a dont care. to terminate a read operation, the master must either issue a stop condi- tion during the ninth cycle or hold sda high during the ninth clock cycle and then issue a stop condition. ack returned? issue slave address byte (read or write) byte load completed by issuing stop. enter ack polling issue stop issue start no yes issue stop no continue normal read or write command sequence proceed yes nonvolatile write cycle complete. continue command sequence?
X1243 11 figure 10. current address read sequence s t a r t s t o p slave address data a c k sda bus signals from the slave signals from the master 1 1 1 1 1 random read random read operation allows the master to access any memory location in the array. prior to issuing the slave address byte with the r/w bit set to one, the master must first perform a dummy write operation. the master issues the start condition and the slave address byte, receives an acknowledge, then issues the word address bytes. after acknowledging receipts of the word address bytes, the master immediately issues another start condition and the slave address byte with the r/w bit set to one. this is followed by an acknowledge from the device and then by the eight bit word. the master terminates the read operation by not responding with an acknowledge and then issuing a stop condition. refer to figure 11 for the address, acknowledge, and data transfer sequence. in a similar operation, called set current address, the device sets the address if a stop is issued instead of the second start shown in figure 11. the X1243 then goes into standby mode after the stop and all bus activity will be ignored until a start is detected. this operation loads the new address into the address counter. the next current address read operation will read from the newly loaded address. this operation could be useful if the master knows the next address it needs to read, but is not ready for the data. sequential read sequential reads can be initiated as either a current address read or random address read. the first data byte is transmitted as with the other modes; however, the master now responds with an acknowledge, indicat- ing it requires additional data. the device continues to output data for each acknowledge received. the master terminates the read operation by not responding with an acknowledge and then issuing a stop condition. the data output is sequential, with the data from address n followed by the data from address n + 1. the address counter for read operations increments through all page and column addresses, allowing the entire memory contents to be serially read during one operation. at the end of the address space the counter rolls over to the start of the address space and the device continues to output data for each acknowledge received. refer to figure 12 for the acknowledge and data transfer sequence. figure 11. random address read sequence 0 slave address word address 1 a c k a c k s t a r t s t o p slave address data a c k s t a r t sda bus signals from the slave signals from the master a c k word address 0 1 1 1 1 00 000 1 111 1
X1243 12 device addressing following a start condition, the master must output a slave address byte. the first four bits of the slave address byte specify access to the eeprom array or to the ccr. slave bits 1010 access the eeprom array. slave bits 1101 access the ccr. bit 3 through bit 1 of the slave byte specify the device select bits. these are set to 111. the last bit of the slave address byte defines the operation to be performed. when this r/w bit is a one, then a read operation is selected. a zero selects a write operation. refer to figure 12. after loading the entire slave address byte from the sda bus, the device compares the device identifier and device select bits with 1010111 or 1101111. upon a correct compare, the device outputs an acknowledge on the sda line. following the slave byte is a two byte word address. the word address is either supplied by the master device or obtained from an internal counter. on power up the internal address counter is set to address 0h, so a current address read of the eeprom array starts at address 0. when required, as part of a random read, the master device must supply the 2 word address bytes. in a random read operation, the slave byte in the dummy write portion must match the slave byte in the read section. that is if the random read is from the array the slave byte must be 1010111x in both instances. similarly, for a random read of the clock/ control registers, the slave byte must be 1101111x in both places. figure 12. sequential read sequence data (2) s t o p slave address data (n) a c k a c k sda bus signals from the slave signals from the master 1 data (n-1) a c k a c k (n is any integer greater than 1) data (1)
X1243 13 figure 13. slave address, word address, and data bytes (64 byte pages) slave address byte byte 0 d7 d6 d5 d2 d4 d3 d1 d0 a0 a7 a2 a4 a3 a1 data byte byte 3 a6 a5 0 0 0 a10 a9 a8 0 1 1 0 1 1 0 1 0 1 1 r/w 1 device identifier array ccr 0 high order word address byte 1 low order word address byte 2
X1243 14 absolute maximum ratings temperature under bias.................. -65?c to +135?c storage temperature....................... -65?c to +150?c voltage on any pin with respect to ground-1.0v to 7.0v dc output current .............................................5 ma lead temperature (soldering, 10 seconds) .... 300?c stresses above those listed under absolute maxi- mum ratings may cause permanent damage to the device. this is a stress rating only and the functional operation of the device at these or any other conditions above those indicated in the operational sections of this specification is not implied. exposure to absolute maximum rating conditions for extended periods may affect device reliability. dc operating characteristics temperature = -40c to +85c, unless otherwise stated. ) notes: 1: the device enters the program state 200ns after a stop ending a write operation and continues for t wc . 2: periodically sampled and not 100% tested. symbol parameter min typ max unit notes vcc main power supply 2.7 5.5 v v back backup power supply 1.8 5.5 v v cb switch to backup supply v cc =v back -0.2 v back -0.1 v 2: v bc switch to main supply v cc =v back v back +0.1 2: i cc1 supply current v cc = 2.7v 1.2 m a 3:, 5:, 10: v cc = 5.5v 1.7 m a i cc2 supply current (external crystal network) v cc = 2.7v 3.8 5 2:, 3:, 5:, 11: v cc = 5.5v 7.5 15 m a i cc3 program supply current (non-volatile) v cc = 2.7v 1.5 ma 1:, 3:, 5:, 10: v cc = 5.5v 3.0 ma i back1 timekeeping current v back = 1.8v 1.0 m a 2:, 4:, 6:, 10: v back = 5.5v 1.5 m a i back2 timekeeping current (external crystal network) v cc = 1.8v 1.6 3 m a 2:, 4:, 6:, 11: v cc = 5.5v 7.5 15 m a i li input leakage current 10 m a7: i lo output leakage current 10 m a7: v il input low voltage -0.5 v cc x 0.3 or v back x 0.3 v 2:, 9: v ih input high voltage v cc x 0.7 or v back x 0.7 v cc + 0.5 v back + 0.5 v 2:, 9: v ol output low voltage 2.7v 0.4 v 8: 5.5v 0.4
X1243 15 3: v il = v cc x 0.1, v ih = v cc x 0.9, f scl = 400khz, sda = open 4: v cc = 0v. 5: v back = 0v. 6: v sda =v scl =v back , others=gnd or v back 7: v sda = gnd to v cc, v clk = gnd or v cc 8: i ol = 3.0ma at 5v, 1.5ma at 1.8v 9: threshold voltages based on the higher of vcc or vback. 10: driven by external 32.768khz square wave oscillator on x1, x2 open. 11: using recommended crystal and oscillator network applied to x1 and x2 (25c). capacitance (t a = 25?c, f = 1.0 mhz, v cc = 5v) 1. this parameter is periodically sampled and not 100% tested. ac characteristics ac test conditions symbol parameter max units test conditions c out (1) output capacitance (sda, irq ) 8pf v out = 0v c in (1) input capacitance (scl) 6pf v in = 0v input pulse levels v cc x 0.1 to v cc x 0.9 input rise and fall times 10ns input and output timing levels v cc x 0.5 output load standard output load equivalent ac output load circuit for v cc = 5v figure 14. standard output load for testing the device with v cc = 5.0v sda. irq 1533 w 100pf 5.0v for v ol = 0.4v and i ol = 3 ma
X1243 16 ac specifications - t a = -40?c to +85?c, v cc = +2.7v to +5.5v, unless otherwise specified. 1. this parameter is periodically sampled and not 100% tested. 2. cb = total capacitance of one bus line in pf. timing diagrams bus timing symbol parameter 400khz option min max units f scl scl clock frequency 0 400 khz t in (1) pulse width suppression time at inputs 50 ns t aa scl low to sda data out valid 0.1 0.9 m s t buf time the bus must be free before a new transmission can start 1.3 m s t low clock low time 1.3 m s t high clock high time 0.6 m s t su:sta start condition setup time 0.6 m s t hd:sta start condition hold time 0.6 m s t su:dat data in setup time 100 ns t hd:dat data in hold time 0 m s t su:sto stop condition setup time 0.6 m s t dh data output hold time 50 ns t r (1) sda and scl rise time 20 +.1cb (2) 300 ns t f (1) sda and scl fall time 20 +.1cb (2) 300 ns cb capacitive load for each bus line 400 pf t su:sto t dh t high t su:sta t hd:sta t hd:dat t su:dat scl sda in sda out t f t low t buf t aa t r
X1243 17 write cycle timing power up timing 1. delays are measured from the time v cc is stable until the specified operation can be initiated. these parameters are peri- odically sampled and not 100% tested. nonvolatile write cycle timing 1. t wc is the time from a valid stop condition at the end of a write sequence to the end of the self-timed internal nonvolatile write cycle. it is the minimum cycle time to be allowed for any nonvolatile write by the user, unless acknowledge polling is used. symbol parameter min. max. units t pur (1) time from power up to read 1 ms t puw (1) time from power up to write 5 ms symbol parameter min. typ.(1) max. units t wc (1) write cycle time 5 10 ms scl sda t wc 8th bit of last byte ack stop condition start condition
X1243 18 ordering information part mark information vcc range package operating temperature range part number 16kb eeprom reset (low) 2.7-5.5v 8l soic 0 o c - 70 o c X1243s8 -40 o c - 85 o c X1243s8i 8l tssop 0 o c - 70 o c X1243v8 8-lead tssop eyww xxxxx X1243 = 2.7 to 5.5v, 0 to +70c 1243i = 2.7 to 5.5v, -40 to +85c 8-lead soic X1243 x xx blank = 8-lead soic blank = 2.7 to 5.5v, 0 to +70c i = 2.7 to 5.5v, -40 to +85c limited warranty devices sold by xicor, inc. are covered by the warranty and patent indemni?cation provisions appearing in its terms of sale onl y. xicor, inc. makes no warranty, express, statutory, implied, or by description regarding the information set forth herein or regarding the f reedom of the described devices from patent infringement. xicor, inc. makes no warranty of merchantability or ?tness for any purpose. xicor, inc. reserves the right to discontinue production and change speci?cations and prices at any time and without notice. xicor, inc. assumes no responsibility for the use of any circuitry other than circuitry embodied in a xicor, inc. product. no o ther circuits, patents, licenses are implied. u.s. patents xicor products are covered by one or more of the following u.s. patents: 4,263,664; 4,274,012; 4,300,212; 4,314,265; 4,326,134; 4,393,481; 4,404,475; 4,450,402; 4,486,769; 4,488,060; 4,520,461; 4,533,846; 4,599,706; 4,617,652; 4,668,932; 4,752,912; 4,829, 482; 4,874 , 967; 4,883, 976. foreign patents and additional patents pending. life related policy in situations where semiconductor component failure may endanger life, system designers using this product should design the sy stem with appropriate error detection and correction, redundancy and back-up features to prevent such an occurence. xicor's products are not authorized for use in critical components in life support devices or systems. 1. life support devices or systems are devices or systems which, (a) are intended for surgical implant into the body, or (b) su pport or sustain life, and whose failure to perform, when properly used in accordance with instructions for use provided in the labeling , can be reasonably expected to result in a signi?cant injury to the user. 2. a critical component is any component of a life support device or system whose failure to perform can be reasonably expected to cause the failure of the life support device or system, or to affect its safety or effectiveness.


▲Up To Search▲   

 
Price & Availability of X1243

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X